package com.example.keshe0337.entity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "parking_space")
public class ParkingSpace {
    @PrimaryKey(autoGenerate = true)
    private Long id;
    @ColumnInfo(name = "space_num")
    private String spaceNum;
    @ColumnInfo(name = "location")
    private String location;
    @ColumnInfo(name = "status")
    private boolean status;
    @ColumnInfo(name = "type")
    private String type;
    @ColumnInfo(name = "hourly_fee")
    private Double hourlyFee;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSpaceNum() {
        return spaceNum;
    }

    public void setSpaceNum(String spaceNum) {
        this.spaceNum = spaceNum;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getHourlyFee() {
        return hourlyFee;
    }

    public void setHourlyFee(Double hourlyFee) {
        this.hourlyFee = hourlyFee;
    }
}
